<html>
<head>
</head>

<body bgcolor="#FFFFFF">
<p class="Decl"><b>property</b> OnHitTest: THitTestEvent;</p>
<p class="Decl"><b><a name="THitTestEvent"></a>type</b> THitTestEvent = <b>procedure</b>(Sender: 
  TObject; X, Y: Integer; <b>var</b> Passed: Boolean) <b>of object</b>;</p>
<h2>Description</h2>
<p class="Body">Provide a handler for this event to customize the mouse hit testing. 
  The X and Y parameters indicate the mouse position relative to <a href="../../../../GR32_Image/Classes/TCustomImage32/_Body.htm">TCustomImage32</a> 
  (or its descendant) top-left corner.</p>
<p id="hidden">[See also]: <a href="../../../../../Additional%20Topics/Using%20TImage32/Using%20Layers.htm">Using 
  Layers</a></p>
</body>
</html>
